<template>
  <el-rate
    v-model="value"
    show-text
    disabled
    :texts="texts"
  />
</template>

<script>
export default {
  props: {
    value: {
      type: Number,
      default: 0,
    },
  },
  data() {
    return {
      texts: ["一星", "二星", "三星", "四星", "五星"],
    };
  },
};
</script>
